<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
                <title>Typo Administration:  <%= controller.controller_name %></title>
                <meta http-equiv="imagetoolbar" content="no" />
				<%= javascript_include_tiny_mce_if_used if this_blog.editor == 2 and (controller.action_name == 'new' or controller.action_name == 'edit') %>
				<%= tiny_mce if this_blog.editor == 2 and (controller.action_name == 'new' or controller.action_name == 'edit') %>
                <%= stylesheet_link_tag "administration.css" %>
                <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls", "typo" %>
        </head>

        <body>
        <div id="container">

        <!-- HEADER -->
          <div id="header">

          <div id="info">
            <%= current_user_notice rescue nil %> |
            <%= link_to _('your blog') + '&raquo;', :controller => "/articles" %>

          </div>
            <h1><%= link_to _("Typo admin") + " - #{this_blog.blog_name rescue nil}", :controller => "/admin/general" %></h1>
          </div>
        <!-- /HEADER -->


        <div id="tabs-container">
          <ul id="tabs">
            <%= tab _("Publish"), :controller=>"/admin/content", :action => 'new' %>
            <%= tab _("Manage"), :controller=>"/admin/content/list", :action => 'index' %>
            <%= tab _("Feedback"), :controller=>"/admin/feedback", :action => 'index' %>
            <%= tab _("Design"), :controller=>"/admin/sidebar", :action => 'index' %>
            <%= tab _("Users"), :controller=>"/admin/users", :action => 'index' %>
            <%= tab _("Settings"), :controller=>"/admin/", :action => 'index' %>
            <%= tab _("Statistics"), :controller=>"/stats", :action => 'index' %>
          </ul>
        </div>


        <div id="overall">
          <% if flash[:notice] or flash[:error] %>
        <div id="flash">
          <%= render_flash rescue nil %>
        </div>
        <% end %>

        <div id="content">
          <div id="main">
            <h2><%= @page_heading %></h2>

            <% if not first_render =~ /general|login|signup|logout/ %>
       <div class="tasks">
              <h3><%= _("Things you can do") %></h3>
              <ul>
                <%= @content_for_tasks %>
         </ul>
         <div style="clear:both;"></div>
            </div>
       <% end %>
       <%= @content_for_layout %>
          </div>
          </div>
        </div>
        <div id="footer">
            Typo <%=h TYPO_VERSION %> <%= _("with %s Famfamfam iconset %s", '<a href="http://famfamfam.com/">', '</a>') %>
        </div>
        </div>
        </body>
</html>

